package project1;

import javax.jws.WebService;

import project1.vo.EmployeeRequestVO;
import project1.vo.EmployeeResponseVO;


@WebService(serviceName = "EmployeeService")
public class EmployeeService {
    public EmployeeService() {
        super();
    }
    
    
    public EmployeeResponseVO getEmployeeDetails(EmployeeRequestVO employeeRequestVO)  {
       EmployeeResponseVO employeeResponseVO = new EmployeeResponseVO();
       employeeResponseVO.setFirstName(employeeRequestVO.getFirstName() + "- Response from Service");
        employeeResponseVO.setLastName(employeeRequestVO.getLastName()+ "- Response from Service");
        employeeResponseVO.setMobileNumber(employeeRequestVO.getMobileNumber()+ "- Response from Service");      
        return employeeResponseVO;
    }
}
